package com.gzhryc.shared_device.oem.code.statistics.dao.models;

import com.gzhryc.common.NumberTools;

public class PlaceSumMoneyData {

    private Long placeId;
    private String placeName;
    private String placeAreaName;
    private String dayDate;
    private Integer orderCount;
    private Long orderMoney;
    private Long orderPayMoney;
    private Integer cancelOrderCount;
    private Long cancelOrderMoney;
    private Integer historyCancelOrderCount;
    private Long historyCancelOrderMoney;
    private Integer historyRefundOrderCount;
    private Long historyRefundOrderMoney;

    public PlaceSumMoneyData(){
        this.orderCount = 0;
        this.orderMoney = 0L;
        this.orderPayMoney = 0L;
        this.cancelOrderCount = 0;
        this.cancelOrderMoney = 0L;
        this.historyCancelOrderCount = 0;
        this.historyCancelOrderMoney = 0L;
        this.historyRefundOrderCount = 0;
        this.historyRefundOrderMoney = 0L;
    }

    public Long getPlaceId() {
        return placeId;
    }

    public void setPlaceId(Long placeId) {
        this.placeId = placeId;
    }

    public String getPlaceName() {
        return placeName;
    }

    public void setPlaceName(String placeName) {
        this.placeName = placeName;
    }

    public String getPlaceAreaName() {
        return placeAreaName;
    }

    public void setPlaceAreaName(String placeAreaName) {
        this.placeAreaName = placeAreaName;
    }

    public String getDayDate() {
        return dayDate;
    }

    public void setDayDate(String dayDate) {
        this.dayDate = dayDate;
    }

    public Integer getOrderCount() {
        return orderCount;
    }

    public void setOrderCount(Integer orderCount) {
        this.orderCount = orderCount;
    }

    public Long getOrderMoney() {
        return orderMoney;
    }

    public void setOrderMoney(Long orderMoney) {
        this.orderMoney = orderMoney;
    }

    public Long getOrderPayMoney() {
        return orderPayMoney;
    }

    public void setOrderPayMoney(Long orderPayMoney) {
        this.orderPayMoney = orderPayMoney;
    }

    public Integer getCancelOrderCount() {
        return cancelOrderCount;
    }

    public void setCancelOrderCount(Integer cancelOrderCount) {
        this.cancelOrderCount = cancelOrderCount;
    }

    public Long getCancelOrderMoney() {
        return cancelOrderMoney;
    }

    public void setCancelOrderMoney(Long cancelOrderMoney) {
        this.cancelOrderMoney = cancelOrderMoney;
    }

    public Integer getHistoryCancelOrderCount() {
        return historyCancelOrderCount;
    }

    public void setHistoryCancelOrderCount(Integer historyCancelOrderCount) {
        this.historyCancelOrderCount = historyCancelOrderCount;
    }

    public Long getHistoryCancelOrderMoney() {
        return historyCancelOrderMoney;
    }

    public void setHistoryCancelOrderMoney(Long historyCancelOrderMoney) {
        this.historyCancelOrderMoney = historyCancelOrderMoney;
    }

    public Integer getHistoryRefundOrderCount() {
        return historyRefundOrderCount;
    }

    public void setHistoryRefundOrderCount(Integer historyRefundOrderCount) {
        this.historyRefundOrderCount = historyRefundOrderCount;
    }

    public Long getHistoryRefundOrderMoney() {
        return historyRefundOrderMoney;
    }

    public void setHistoryRefundOrderMoney(Long historyRefundOrderMoney) {
        this.historyRefundOrderMoney = historyRefundOrderMoney;
    }

    public String getOrderMoneyStr(){
        return NumberTools.getMoneyLiStr(this.orderMoney);
    }

    public String getOrderPayMoneyStr(){
        return NumberTools.getMoneyLiStr(this.orderPayMoney);
    }

    public String getCancelOrderMoneyStr(){
        return NumberTools.getMoneyLiStr(this.cancelOrderMoney);
    }

    public String getHistoryCancelOrderMoneyStr(){
        return NumberTools.getMoneyLiStr(this.historyCancelOrderMoney);
    }

    public String getHistoryRefundOrderMoneyStr(){
        return NumberTools.getMoneyLiStr(this.historyRefundOrderMoney);
    }
}
